package com.baiku.sanhos.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "t_doctor")
public class Doctor {
    @TableId(type = IdType.AUTO)
    private Integer id;//编号
    private String no;//工号
    private String password;//密码
    private String username;
    private Integer gender;//性别
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date birthday;//出生
    private Long phone;//手机
    private String email;//邮箱
    private Integer degree;//学历
    private Integer deptId;//科室id
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date joinTime;//入职时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;//更新时间
    private Integer status;//状态
    private Integer flag;//角色
    private String jobTitle;//职称
    private String brief;//简介
}
